﻿@{
    Layout = null;
}
<!DOCTYPE html>

<html>
<head>
    <title>BabyShop SysManagement</title>
    <link type="text/css" rel="styleSheet" href="@Url.Content("~/Content/themes/base/jquery.ui.all.css")" />
    <link type="text/css" rel="StyleSheet" href="@Url.Content("~/Content/SysManage/Default.css")"/>
    <link type="text/css" rel="StyleSheet" href="@Url.Content("~/Content/jquery.pnotify.default.css")"/>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery-1.7.2.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery-ui-1.8.20.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.pnotify.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/SysManage/jquery.bs.toolkits.js")"></script>
    <style type="text/css">
        :root
        {
            background-color: #5c87b2;
        }
    </style>
</head>
<body>
    <header id="desktopHeader">
        <nav class="desktopMenu">
            <a class="menuItem" href="@Url.Action("Index","Product")" target="mainFrame">
                <img alt="" src="http://6.web.qstatic.com/webqqpic/pubapps/0/26/images/mid.png"/>
                <span>商品管理</span>
            </a>
            <a class="menuItem" href="@Url.Action("Index", "ProductType")" target="mainFrame">
                <img alt="" src="http://6.web.qstatic.com/webqqpic/pubapps/0/26/images/mid.png"/>
                <span>分类管理</span>
            </a>
            <a class="menuItem" href="@Url.Action("Index","Action")" target="mainFrame">
                <img alt="" src="http://6.web.qstatic.com/webqqpic/pubapps/0/26/images/mid.png"/>
                <span>操作权限设置</span>
            </a>
            <a class="menuItem">
                <img alt="" src="http://6.web.qstatic.com/webqqpic/pubapps/0/26/images/mid.png"/>
                <span>评论管理</span>
            </a>
            <a class="menuItem">
                <img alt="" src="http://6.web.qstatic.com/webqqpic/pubapps/0/26/images/mid.png"/>
                <span>订单管理</span>
            </a>
            <a class="menuItem">
                <img alt="" src="http://6.web.qstatic.com/webqqpic/pubapps/0/26/images/mid.png"/>
                <span>用户管理</span>
            </a>
        </nav>
        <input type="button" id="contractMenu" value="收起菜单"></input>
    </header>
    <div id="iframeContainer" class="ui-corner-all">
        <iframe id="mainFrame" name="mainFrame" class="ui-corner-all" allowtransparency="true" frameborder="0" src="@Url.Action("Default", "Home", new { Area = "" })">
        </iframe>
    </div>
    <footer id="desktopFooter">
        <a id="sysLogo" href="javascript:void(0);" title="logo"></a>
        <span>CopyRight &copy; 2011  by 超级奶崽</span>
    </footer>
</body>
<script type="text/javascript">
    $(function () {
        $('#contractMenu').click(function () {
            $('#desktopHeader').effect('transfer', { to: '#sysLogo', className: "ui-effects-transfer" }, 700, function () {
                $('#desktopHeader').hide();
            });
            return false;
        });
        $('#sysLogo').click(function () {
            if ($('#desktopHeader').is(':hidden'))
                $('#sysLogo').effect('transfer', { to: '#desktopHeader', className: "ui-effects-transfer" }, 500, function () {
                    $('#desktopHeader').show();
                });
            return false;
        });
    });
</script>
</html>
